package io.aircraft.modules.wms.service;

import io.aircraft.common.service.CrudService;
import io.aircraft.common.utils.ProcResult;
import io.aircraft.modules.wms.dto.TrkPostDTO;
import io.aircraft.modules.wms.entity.TrkPostEntity;

import java.util.List;

/**
 * 设备任务
 *
 * @author Cycle gengruyi01@163.com
 * @since 1.0.0 2022-10-21
 */
public interface TrkPostService extends CrudService<TrkPostEntity, TrkPostDTO> {

    TrkPostDTO selectOneByPk(String requestPk);

    /**
     * wcs系统任务完成后的回调
     */
    ProcResult callbackProc(Long id);

    int batchSave(List<TrkPostEntity> trkList);
}